package com.benjaminwan.read.free.model.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

@Parcelize
data class ContentImg(
    override var content: String = "",
    var thumbUrl: String = "",
    var author: String = "",
    var floor: Int = 0,
    var indexInPage: Int = 0,
    var fileSize: Long = 0L
) : ContentAbs(), Parcelable {

    constructor(url: String, fileSize: Long, thumbUrl: String) : this() {
        content = url
        this.fileSize = fileSize
        this.thumbUrl = thumbUrl
    }

    override val copyText: String
        get() = "[图片:$content]"

}